import Vue from 'vue'

import 'amfe-flexible'

import 'normalize.css/normalize.css' // A modern alternative to CSS resets

import ElementUI from 'element-ui'
import '@/styles/themes/element-variables.scss'

import VueI18n from 'vue-i18n'

import '@/styles/index.scss' // global css

import App from './App'
import store from './store'
import router from './router'

import * as echarts from 'echarts'

Vue.use(ElementUI)
Vue.use(VueI18n)

Vue.config.productionTip = false

Vue.prototype.$echarts = echarts

const bus = new Vue()
Vue.prototype.$bus = bus

new Vue({
  el: '#app',
  router,
  store,
  render: h => h(App)
})
